<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Dashboard extends CI_Controller {

	public function index()
	{
            if(!$this->session->userdata('gcwgulberg_adminid'))
            {
                redirect('../admin/index.php/userlogin');
            }
		
            $this->load->view('adminheader');
            $this->load->view('leftmenu');
            $this->load->view('dashboard_view');
            $this->load->view('adminfooter');
		
	}
}
